package com.qulai.common.utils;

import com.qulai.common.constant.Constants;
import com.qulai.common.core.text.StrFormatter;
import org.springframework.util.AntPathMatcher;

import java.util.*;
import java.util.stream.Collectors;

/**
 * 字符串工具类
 * 
 * @author ruoyi
 */
public class ListUtils
{
    public static String listConvertToString(List<String> list) {
        if (list == null || list.isEmpty()) {
            return "";
        }
        return list.stream()
                .map(element -> "'" + element + "'")
                .collect(Collectors.joining(","));
    }
}